    <div class="breadcrumb">
        <a href="/">Avaleht</a> >
        <?php foreach($nodes as $index => $node):?>
            <?php if(!$node['isHidden']):?>
                <?php if( count($nodes) != $index + 1):?>
                    <a href="<?php echo $node['link'] ?>"><?php echo $node['title'] ?></a> >
                <?php else: ?>
                    <a href="<?php echo $node['link'] ?>" class="active"><?php echo $node['title'] ?></a>
                <?php endif ?>
            <?php endif;?>
        <?php endforeach;?>
    </div>